package zut.cs.liziflower.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xuwenke
 * @since 2022-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("flower_category")
@ApiModel(value="FlowerCategory对象", description="")
public class FlowerCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类id主键")
    @TableId(value = "cateid", type = IdType.AUTO)
    private Integer cateid;

    @ApiModelProperty(value = "类别名称")
    private String name;

    @ApiModelProperty(value = "状态 1可用，0弃用")
    private Integer status;


}
